package com.example.book_recommend.entity;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.Date;

public class BookInfo {
    private Long bookId;

    private Integer bookCategoryId;

    private Integer storeId;

    private String name;

    private String outline;

    private String detail;

    private String press;

    private String publishDate;

    private String size;

    private String version;

    private String author;

    private String translator;

    private String isbn;

    private BigDecimal price;

    private Integer pages;

    private String catalog;

    private BigDecimal marketPrice;

    private BigDecimal memberPrice;

    private Integer dealMount;

    private Integer lookMount;

    private BigDecimal discount;

    private String imageUrl;

    private Integer storeMount;

    private Date storeTime;

    private String packStyle;

    private Integer isShelf;

    private String cname;

    private String description;

    private String cata;

    private String content;

    public BookInfo(Long bookId, Integer bookCategoryId, Integer storeId, String name, String outline, String detail, String press, String publishDate, String size, String version, String author, String translator, String isbn, BigDecimal price, Integer pages, String catalog, BigDecimal marketPrice, BigDecimal memberPrice, Integer dealMount, Integer lookMount, BigDecimal discount, String imageUrl, Integer storeMount, Date storeTime, String packStyle, Integer isShelf, String cname, String description, String cata, String content) {
        this.bookId = bookId;
        this.bookCategoryId = bookCategoryId;
        this.storeId = storeId;
        this.name = name;
        this.outline = outline;
        this.detail = detail;
        this.press = press;
        this.publishDate = publishDate;
        this.size = size;
        this.version = version;
        this.author = author;
        this.translator = translator;
        this.isbn = isbn;
        this.price = price;
        this.pages = pages;
        this.catalog = catalog;
        this.marketPrice = marketPrice;
        this.memberPrice = memberPrice;
        this.dealMount = dealMount;
        this.lookMount = lookMount;
        this.discount = discount;
        this.imageUrl = imageUrl;
        this.storeMount = storeMount;
        this.storeTime = storeTime;
        this.packStyle = packStyle;
        this.isShelf = isShelf;
        this.cname = cname;
        this.description = description;
        this.cata = cata;
        this.content = content;
    }

    public BookInfo() {
        super();
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Integer getBookCategoryId() {
        return bookCategoryId;
    }

    public void setBookCategoryId(Integer bookCategoryId) {
        this.bookCategoryId = bookCategoryId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getOutline() {
        return outline;
    }

    public void setOutline(String outline) {
        this.outline = outline == null ? null : outline.trim();
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail == null ? null : detail.trim();
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press == null ? null : press.trim();
    }

    public String getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(String publishDate) {
        this.publishDate = publishDate == null ? null : publishDate.trim();
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size == null ? null : size.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public String getTranslator() {
        return translator;
    }

    public void setTranslator(String translator) {
        this.translator = translator == null ? null : translator.trim();
    }

    public String getIsbn() {
        return isbn;
    }

    public void setIsbn(String isbn) {
        this.isbn = isbn == null ? null : isbn.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }

    public String getCatalog() {
        return catalog;
    }

    public void setCatalog(String catalog) {
        this.catalog = catalog == null ? null : catalog.trim();
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public BigDecimal getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(BigDecimal memberPrice) {
        this.memberPrice = memberPrice;
    }

    public Integer getDealMount() {
        return dealMount;
    }

    public void setDealMount(Integer dealMount) {
        this.dealMount = dealMount;
    }

    public Integer getLookMount() {
        return lookMount;
    }

    public void setLookMount(Integer lookMount) {
        this.lookMount = lookMount;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    public Integer getStoreMount() {
        return storeMount;
    }

    public void setStoreMount(Integer storeMount) {
        this.storeMount = storeMount;
    }

    public Date getStoreTime() {
        return storeTime;
    }

    public void setStoreTime(Date storeTime) {
        this.storeTime = storeTime;
    }

    public String getPackStyle() {
        return packStyle;
    }

    public void setPackStyle(String packStyle) {
        this.packStyle = packStyle == null ? null : packStyle.trim();
    }

    public Integer getIsShelf() {
        return isShelf;
    }

    public void setIsShelf(Integer isShelf) {
        this.isShelf = isShelf;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname == null ? null : cname.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getCata() {
        return cata;
    }

    public void setCata(String cata) {
        this.cata = cata == null ? null : cata.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}